package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 执行地变更类型
 */

@Getter
public enum ChangePlaceTypeEnum implements Serializable {
    TRANS_PROVINCIAL("TRANS_PROVINCIAL", "跨省"),
    IN_PROVINCE("IN_PROVINCE", "省内");

    @Enumerated(EnumType.STRING)
    private final String type;
    private final String desc;

    ChangePlaceTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
